import service from '..'

export function getMusicList (id) {
  return service({
    method: 'GET',
    url: `/playlist/detail?id=${id}`
  })
}

export function getItemList (id) {
  return service({
    method: 'GET',
    url: `/playlist/track/all?id=${id}&offset=0`
  })
}

export function getMusicLyric (id) {
  return service({
    method: 'GET',
    url: `/lyric?id=${id}`
  })
}